<xsl:stylesheet version="1.0"
	xmlns:date="http://exslt.org/dates-and-times"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:ebe="http://cks/ebemethods"
  exclude-result-prefixes="date ebe">

<xsl:param name="IsBlogOwner" />
<xsl:param name="RelativeUrl" />

<xsl:output omit-xml-declaration="yes" />

<xsl:template match="/">
	<xsl:if test="$IsBlogOwner = 'True'">
		<xsl:apply-templates select="AdminLinks"/>
	</xsl:if>
</xsl:template>

<xsl:template match="AdminLinks">
	
	<div class="archive">
	
		<h3>Blog Admin</h3>
		<ul>
      <li><a href="{@CreatePosts}"><xsl:value-of select="ebe:res('CreatePost')"/></a></li>
      <li><a href="{@CreateCategories}"><xsl:value-of select="ebe:res('CreateCategory')"/></a></li>
      <li><a href="{@Posts}"><xsl:value-of select="ebe:res('ManagePosts')"/></a></li>
      <li><a href="{@Comments}"><xsl:value-of select="ebe:res('ManageComments')"/></a></li>
      <li><a href="{@Categories}"><xsl:value-of select="ebe:res('ManageCategories')"/></a></li>
      <li><a href="{@Links}"><xsl:value-of select="ebe:res('ManageLinks')"/></a></li>
      <li><a href="{$RelativeUrl}/_layouts/cks/ebe/settings.aspx"><xsl:value-of select="ebe:res('BlogSettings')"/></a></li>
		</ul>
	</div>

</xsl:template>
  
</xsl:stylesheet>